# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xmahjongg
pkgver=3.7
pkgrel=6
pkgdesc="Mahjongg game for X-Window"
arch=('i686' 'x86_64')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
depends=('gcc-libs' 'libx11')
source=(http://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('2693a0a90d9cb127f7b98cbeca9a2b832b3bb718')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
